From 019e65778ed992e4b49ad5a9a15cacda0948c901 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Mon, 27 Feb 2006 08:44:11 +0100 Subject: [PATCH] Define strlcpy() in include/xen/string.h Signed-off-by: Tsunehisa Doi Signed-off-by: Kouya SHIMURA Signed-off-by: Masaki Kanno Signed-off-by: Akio Takebe --- xen/include/xen/string.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xen/include/xen/string.h b/xen/include/xen/string.h index ef6b4a5d46..347ca8358a 100644 --- a/xen/include/xen/string.h +++ b/xen/include/xen/string.h @@ -25,6 +25,9 @@ extern char * strcpy(char *,const char *); #ifndef __HAVE_ARCH_STRNCPY extern char * strncpy(char *,const char *, __kernel_size_t); #endif +#ifndef __HAVE_ARCH_STRLCPY +extern size_t strlcpy(char *,const char *, __kernel_size_t); +#endif #ifndef __HAVE_ARCH_STRCAT extern char * strcat(char *, const char *); #endif -- 2.30.2